﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/UserMasterPage.master" AutoEventWireup="true"
    CodeFile="ProductDetails.aspx.cs" Inherits="User_ProductDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="margin: 5px 5px 5px 5px; width: 100%">
        <div id="maincontent">
            <div id="product_display">
                <div id="main_image">
                    <asp:Image ID="ImgProduct" runat="server" alt="Open Pictures in New Window" Style="border: 3px solid rgb(255, 255, 255);"
                        Width="350" Height="350" />
                </div>
                <div id="options">
                    <h1>
                        <asp:Label ID="lblName" runat="server" Text=""></asp:Label>
                    </h1>
                    <p style="font-size: 18px; font-weight: bold; color: Gray">
                        Price</p>
                    <div id="optionsbox" class="purchase_options">
                        <div id="optionsbox_top">
                            <div id="optionsbox_bottom">
                                <h3>
                                    $<asp:Label ID="lblPrice" runat="server" Text=""></asp:Label>
                                </h3>
                            </div>
                        </div>
                    </div>
                    <br clear="all" />
                </div>
            </div>
            <br clear="all" />
            <div id="product_desc">
                <asp:Label ID="lblDetails" runat="server" Text=""></asp:Label>
            </div>
            <div id="giftoptions">
                <h2>
                    Why not include a small gift with your purchase?</h2>
                <div id="giftoptionsbox">
                    <div id="giftoptionsbox_top">
                        <div id="giftoptionsbox_bottom">
                            <div id="Div1">
                                <ul class="giftoptions">
                                    <asp:DataList ID="dlGiftMenu" runat="server" RepeatColumns="5" Width="100%" OnItemCommand="dlGiftMenu_ItemCommand">
                                        <ItemTemplate>
                                            <li id="chocolatesdisplay">
                                                <asp:LinkButton ID="lbnGMenu" runat="server" CommandArgument='<%#Eval("CG_ID") %>'><%#Eval("CG_Name")%></asp:LinkButton>
                                            </li>
                                        </ItemTemplate>
                                    </asp:DataList>
                                </ul>
                                <br clear="all" />
                                <br />
                                <div id="extras" style="height: 150px; overflow: auto;">
                                    <table class="giftitems" width="100%" style="margin-left: -30px">
                                        <tbody>
                                            <tr>
                                                <td>
                                                    <asp:DataList ID="dlGift" runat="server" RepeatColumns="5" Width="100%" OnItemCommand="dlGift_ItemCommand">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="LinkButton2" runat="server" CommandArgument='<%#Eval("G_ID") %>'>
                                                    <img src="<%#Eval("G_Image") %>" border="0" width="100px" height="100px" />
                                                            </asp:LinkButton>
                                                            </div>
                                                            <br />
                                                            <span class="giftname">
                                                                <%#Eval("G_Name") %></span><br>
                                                            <span class="giftprice">$<%#Eval("G_Price")%></span>
                                                        </ItemTemplate>
                                                    </asp:DataList>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="bottombox" class="order" style="text-align: right">
                    <div id="bottombox_top">
                        <div id="bottombox_bottom">
                            <h2 style="text-align: left; your orderalign: left;">
                                Your Order</h2>
                            <div id="order_content">
                                <table class="orderitems">
                                    <tbody>
                                        <tr>
                                            <td style="width: 110px">
                                                <div id="orderpic">
                                                    <asp:Image ID="imgBouquet" runat="server" Width="100px" Height="100px" />
                                                </div>
                                                <br />
                                                <div id="newitem">
                                                    <span class="orderprice">$
                                                        <asp:Label ID="lblPriceBouquet" runat="server" Text="">
                                                        </asp:Label>
                                                    </span>
                                                </div>
                                            </td>
                                            <td>
                                                <asp:DataList ID="dlListShopCart" runat="server" RepeatColumns="8" Width="100%" OnItemCommand="dlListShopCart_ItemCommand">
                                                    <ItemTemplate>
                                                        <img src='<%#Eval("Image") %>' width="100px" height="100px" />
                                                        <br />
                                                        $<%#Eval("Price")%><%#Eval("Id") %><br /><div>
                                                            <asp:LinkButton ID="lbnRemove" runat="server" CommandArgument='<%#Eval("Id") %>'>Remove</asp:LinkButton>
                                                        </div>
                                                    </ItemTemplate>
                                                </asp:DataList>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <div id="total">
                                <%--<input name="total" id="total" value="77.00" size="7" class="total_price" type="text"><br>--%>
                                <asp:LinkButton ID="LinkButton1" runat="server" OnClick="lbnBuy_Click">
                            <img src="../images/button_productbuynow1.gif" id="Img1" />
                                </asp:LinkButton>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <br clear="all" />
        </div>
    </div>
</asp:Content>
